<template>
    <div>
        <h1>朋友</h1>
        <h1>朋友</h1>
        <h1>朋友</h1>
        <h1>朋友：{{ $route.query.name }}</h1>
    </div>
</template>

<script>
export default {
    created(){
        console.log("接收：", this.$route.query.name);
    }
}
</script>

<style>

</style>